package com.woniu.service.imp;

import com.woniu.mapper.PermissionMapper;
import com.woniu.pojo.Permission;
import com.woniu.service.PermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PermissionServiceImp implements PermissionService {
    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public Permission findPermissionById(Integer perid) {
        return permissionMapper.selcetPermissionsById(perid);
    }
}
